package com.mall.book.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.book.entity.po.BookAuthorRelationship;
import com.mall.book.mappers.BookAuthorRelationshipMapper;
import com.mall.book.service.BookAuthorRelationshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * Created by Dizziness on 2022/4/3 18:45
 */
@Service
public class BookAuthorRelationshipServiceImpl implements BookAuthorRelationshipService{
    @Autowired
    BookAuthorRelationshipMapper bookAuthorRelationshipMapper;

    @Override
    public boolean saveBatch(Collection<BookAuthorRelationship> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<BookAuthorRelationship> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<BookAuthorRelationship> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(BookAuthorRelationship entity) {
        return false;
    }

    @Override
    public BookAuthorRelationship getOne(Wrapper<BookAuthorRelationship> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<BookAuthorRelationship> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<BookAuthorRelationship> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public BaseMapper<BookAuthorRelationship> getBaseMapper() {
        return bookAuthorRelationshipMapper;
    }

    @Override
    public Class<BookAuthorRelationship> getEntityClass() {
        return BookAuthorRelationship.class;
    }

    @Override
    public List<BookAuthorRelationship> getByMap(HashMap<String, Object> queryMap) {
        return bookAuthorRelationshipMapper.selectByMap(queryMap);
    }
}
